package avicit.bdp.dgs.metadata.compare.pojo;

import avicit.bdp.common.service.dto.BdpTableDTO;
import java.util.List;

/**
 * 数据表变更记录
 *
 * @author mayi
 */
public class MetadataTableChange {

  private BdpTableDTO table;

  public MetadataTableChange(BdpTableDTO table) {
    this.table = table;
  }

  private MetadataTableDiffItem tableDiff;

  private List<MetadataTableColumnDiffItem> columnDiffs;

  public BdpTableDTO getTable() {
    return table;
  }

  public void setTable(BdpTableDTO table) {
    this.table = table;
  }

  public MetadataTableDiffItem getTableDiff() {
    return tableDiff;
  }

  public void setTableDiff(MetadataTableDiffItem tableDiff) {
    this.tableDiff = tableDiff;
  }

  public List<MetadataTableColumnDiffItem> getColumnDiffs() {
    return columnDiffs;
  }

  public void setColumnDiffs(List<MetadataTableColumnDiffItem> columnDiffs) {
    this.columnDiffs = columnDiffs;
  }
}
